package com.owc.dao;

import com.owc.domain.entity.RechargeFlow;

import java.util.List;

import com.owc.domain.vo.admin.RechargeQueryVo;
import org.apache.ibatis.annotations.Param;

public interface RechargeFlowMapper extends BaseMapper<RechargeFlow, Long> {

    void updateStatusByUserAndTokenId(@Param("flowId") String flowId, @Param("status") Integer status);

    List<RechargeFlow> selectByQueryModel(@Param("queryModel") RechargeQueryVo rechargeQueryVo);

    RechargeFlow selectByHash(@Param("txhash") String txhash);

    RechargeFlow selectByFlowId(@Param("flowId") String flowId);
}
